import React from 'react'
const home = React.lazy(() => import('../pages/home'))
const source = React.lazy(() => import('../pages/source'))
const world = React.lazy(() => import('../pages/world'))
const layout = React.lazy(() => import('../pages/layout'))

const routes = [{
	path: '/',
	element: layout,
	children: [{
		path: '/',
		element: home
	},{
		path: '/source',
		element: source
	},{
		path: '/world',
		element: world
	}]
}]


export default routes